﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002ED RID: 749
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClearAetherDividePassiveSkillScRsp : IMessage<ClearAetherDividePassiveSkillScRsp>, IMessage, IEquatable<ClearAetherDividePassiveSkillScRsp>, IDeepCloneable<ClearAetherDividePassiveSkillScRsp>, IBufferMessage
	{
		// Token: 0x170009AA RID: 2474
		// (get) Token: 0x0600216D RID: 8557 RVA: 0x0005E663 File Offset: 0x0005C863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClearAetherDividePassiveSkillScRsp> Parser
		{
			get
			{
				return ClearAetherDividePassiveSkillScRsp._parser;
			}
		}

		// Token: 0x170009AB RID: 2475
		// (get) Token: 0x0600216E RID: 8558 RVA: 0x0005E66A File Offset: 0x0005C86A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClearAetherDividePassiveSkillScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009AC RID: 2476
		// (get) Token: 0x0600216F RID: 8559 RVA: 0x0005E67C File Offset: 0x0005C87C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClearAetherDividePassiveSkillScRsp.Descriptor;
			}
		}

		// Token: 0x06002170 RID: 8560 RVA: 0x0005E683 File Offset: 0x0005C883
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillScRsp()
		{
		}

		// Token: 0x06002171 RID: 8561 RVA: 0x0005E68C File Offset: 0x0005C88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillScRsp(ClearAetherDividePassiveSkillScRsp other) : this()
		{
			this.aetherSkillInfo_ = ((other.aetherSkillInfo_ != null) ? other.aetherSkillInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.avatarInfo_ = ((other.avatarInfo_ != null) ? other.avatarInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002172 RID: 8562 RVA: 0x0005E6F4 File Offset: 0x0005C8F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillScRsp Clone()
		{
			return new ClearAetherDividePassiveSkillScRsp(this);
		}

		// Token: 0x170009AD RID: 2477
		// (get) Token: 0x06002173 RID: 8563 RVA: 0x0005E6FC File Offset: 0x0005C8FC
		// (set) Token: 0x06002174 RID: 8564 RVA: 0x0005E704 File Offset: 0x0005C904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherSkillInfo AetherSkillInfo
		{
			get
			{
				return this.aetherSkillInfo_;
			}
			set
			{
				this.aetherSkillInfo_ = value;
			}
		}

		// Token: 0x170009AE RID: 2478
		// (get) Token: 0x06002175 RID: 8565 RVA: 0x0005E70D File Offset: 0x0005C90D
		// (set) Token: 0x06002176 RID: 8566 RVA: 0x0005E715 File Offset: 0x0005C915
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170009AF RID: 2479
		// (get) Token: 0x06002177 RID: 8567 RVA: 0x0005E71E File Offset: 0x0005C91E
		// (set) Token: 0x06002178 RID: 8568 RVA: 0x0005E726 File Offset: 0x0005C926
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfo AvatarInfo
		{
			get
			{
				return this.avatarInfo_;
			}
			set
			{
				this.avatarInfo_ = value;
			}
		}

		// Token: 0x06002179 RID: 8569 RVA: 0x0005E72F File Offset: 0x0005C92F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClearAetherDividePassiveSkillScRsp);
		}

		// Token: 0x0600217A RID: 8570 RVA: 0x0005E740 File Offset: 0x0005C940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClearAetherDividePassiveSkillScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.AetherSkillInfo, other.AetherSkillInfo) && this.Retcode == other.Retcode && object.Equals(this.AvatarInfo, other.AvatarInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600217B RID: 8571 RVA: 0x0005E7A4 File Offset: 0x0005C9A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aetherSkillInfo_ != null)
			{
				num ^= this.AetherSkillInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.avatarInfo_ != null)
			{
				num ^= this.AvatarInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600217C RID: 8572 RVA: 0x0005E80F File Offset: 0x0005CA0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600217D RID: 8573 RVA: 0x0005E817 File Offset: 0x0005CA17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600217E RID: 8574 RVA: 0x0005E820 File Offset: 0x0005CA20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.avatarInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.AvatarInfo);
			}
			if (this.aetherSkillInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.AetherSkillInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600217F RID: 8575 RVA: 0x0005E898 File Offset: 0x0005CA98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aetherSkillInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AetherSkillInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.avatarInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AvatarInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002180 RID: 8576 RVA: 0x0005E908 File Offset: 0x0005CB08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClearAetherDividePassiveSkillScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aetherSkillInfo_ != null)
			{
				if (this.aetherSkillInfo_ == null)
				{
					this.AetherSkillInfo = new AetherSkillInfo();
				}
				this.AetherSkillInfo.MergeFrom(other.AetherSkillInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.avatarInfo_ != null)
			{
				if (this.avatarInfo_ == null)
				{
					this.AvatarInfo = new AetherDivideSpiritInfo();
				}
				this.AvatarInfo.MergeFrom(other.AvatarInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002181 RID: 8577 RVA: 0x0005E99C File Offset: 0x0005CB9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002182 RID: 8578 RVA: 0x0005E9A8 File Offset: 0x0005CBA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					if (num != 114U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.aetherSkillInfo_ == null)
							{
								this.AetherSkillInfo = new AetherSkillInfo();
							}
							input.ReadMessage(this.AetherSkillInfo);
						}
					}
					else
					{
						if (this.avatarInfo_ == null)
						{
							this.AvatarInfo = new AetherDivideSpiritInfo();
						}
						input.ReadMessage(this.AvatarInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000DA0 RID: 3488
		private static readonly MessageParser<ClearAetherDividePassiveSkillScRsp> _parser = new MessageParser<ClearAetherDividePassiveSkillScRsp>(() => new ClearAetherDividePassiveSkillScRsp());

		// Token: 0x04000DA1 RID: 3489
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000DA2 RID: 3490
		public const int AetherSkillInfoFieldNumber = 15;

		// Token: 0x04000DA3 RID: 3491
		private AetherSkillInfo aetherSkillInfo_;

		// Token: 0x04000DA4 RID: 3492
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04000DA5 RID: 3493
		private uint retcode_;

		// Token: 0x04000DA6 RID: 3494
		public const int AvatarInfoFieldNumber = 14;

		// Token: 0x04000DA7 RID: 3495
		private AetherDivideSpiritInfo avatarInfo_;
	}
}
